import type { PermissionRecord } from '@/DatabaseType/Permission';
import type { FormProps } from 'antd/es/form/Form';

// Form组件的默认长度分配
export const FormLayout: FormProps = {
  labelCol: {
    span: 5,
  },
  labelAlign: 'right',
};

// 默认的权限根节点
export const ROOT_PERMISSION_RECORD: PermissionRecord = {
  apiList: '[]',
  createTime: '',
  funcType: '1',
  id: 0,
  idPath: '',
  name: 'Root',
  pageUrl: '/',
  type: '1',
  updateTime: '',
  znName: '根节点',
};

